/*
 * 筛选对应的数据
 * @param origin {Array}
 * @param key {String}
 * @return res {Array}
 */
export const getFilterList = (origin: [], key: string, val: string) => {
  return origin.filter(item => item[key] === val)
};
